﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModelGroup.aspx.cs" Inherits="Whir_System_Module_Contents_ModelGroup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../Skin/Default/Css/main.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
        if (top.location == self.location) { 
            alert('禁止访问子栏目页！将跳转到默认页面');
            top.location='../../Default.aspx';
        } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="99%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DADADA">
            <tr>
                <td height="26" colspan="4" align="left" class="form_title"><strong>复杂功能模块表单管理</strong></td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">表单名称： </td>
                <td class="form_td">
                    <asp:TextBox ID="txtGroupName" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">模块筛选： </td>
                <td class="form_td">
                    <asp:DropDownList ID="ddlSelect" runat="server" OnSelectedIndexChanged="ddlSelect_SelectedIndexChanged"
                        AutoPostBack="True">
                        <asp:ListItem Text=" === 所有模块 === " Value="all"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">功能模块一： </td>
                <td class="form_td">
                    <asp:DropDownList ID="ddlModel1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlModel1_SelectedIndexChanged">
                    </asp:DropDownList>表单列表：<asp:DropDownList ID="ddlModelForm1" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">功能模块二： </td>
                <td class="form_td">
                    <asp:DropDownList ID="ddlModel2" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlModel2_SelectedIndexChanged">
                    </asp:DropDownList>表单列表：<asp:DropDownList ID="ddlModelForm2" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText">功能模块三： </td>
                <td class="form_td">
                    <asp:DropDownList ID="ddlModel3" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlModel3_SelectedIndexChanged">
                    </asp:DropDownList>表单列表：<asp:DropDownList ID="ddlModelForm3" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td height="30" align="center" class="form_tdText"></td>
                <td class="form_td">
                    <asp:Button ID="btnSumbit" runat="server" CssClass="btn_default" Text="提交" OnClick="btnSumbit_Click"
                        OnClientClick="return checkForm();" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCancel" runat="server" Text="返回" CssClass="btn_default" CausesValidation="False"
                        OnClick="btnCancel_Click" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
<!-- 文本框的样式初始化-->

<script language="javascript" src="../../Js/common.js"></script>

<script type="text/javascript">initAutoFormStyle();</script>

<!-- 验证-->

<script language="javascript" type="text/javascript" src="../../../Script/Validate.js"></script>

<script type="text/javascript">
function checkForm(){
        var vs = [
        "txtGroupName|noNull|请输入复杂功能模块表单的名称，名称可以为中文、英文等！"
        ]; 
        if(Validator(vs))
           return true;
        else
            return false;    
}
</script>

